package com.daimariji.multiweb.multiapp.controller;

import com.daimariji.multicommon.service.Article;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/article")
public class Home {
    @GetMapping("list")
    public String list() {
        Article article = new Article();

        System.out.println(article.getList());
        return "home";
    }

    @GetMapping("1")
    public String list1() {
        Article article = new Article();

        System.out.println(article.getList());
        return "home";
    }
}
